package com.ytxg.health_management.comment.service;


import com.ytxg.health_management.pojo.entity.Comments;
import com.ytxg.health_management.pojo.entity.Result;

import java.util.List;
import java.util.Map;

public interface CommentService {
    Result<Map<String, Object>> getCommentsAll(Comments comments);
    Result<List<Comments>> getCommentsByArticleId(Integer articleId);
    Result<String> addComment(Comments comments);
    Result<String> deleteComment(Integer id);
    Result<String> deleteByArticleId(int id);
}
